package com.scs.application.modules.base.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.scs.application.core.query.QueryContext;
import com.scs.application.core.service.IBaseService;
import com.scs.application.modules.base.entity.Oprt;
import com.scs.application.modules.sys.model.RestResult;
import com.scs.application.modules.thirdparty.dto.HisOprt;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Service
 * </p>
 */

public interface OprtService extends IBaseService<Oprt> {



    List<Oprt> oprtList();

    RestResult syncupdata(List<HisOprt> oprt);

    /**
     *  修复 手术和病人关联关系
     */
    void syncOprtPatient();

    com.scs.application.modules.base.dto.OprtDTO getOprtByCode(String code);

    com.scs.application.modules.base.dto.OprtDTO getOprtById(Serializable id);

    IPage pageForSelect(QueryContext queryContext, Map<String, Object> userParam);

    RestResult syncHisOprt(HisOprt hisOprt);
}
